<!-- 更新博客 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>
        back_blog - <%= title %>
    </title>
</head>
<link rel="shortcut icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="./stylesheets/public.css">
<link rel="stylesheet" href="./stylesheets/editclassify.css">

<body>
    <div class="blogwrap">
        <%- include head %>
            <div class="navbarconent col-md-12 col-sm-12col-xs-12">
                <div class="boxContent">
                    <div class="navtitle clearfix">
                        <ol class="breadcrumb">
                            <li><a href="/">主页</a></li>
                            <li><a href="/manageblogs">博客管理</a></li>
                            <li>
                                <a href="/addclassify">
                                    <%= title %>
                                </a>
                            </li>
                        </ol>
                    </div>
                    <div class="editclassify">
                        <p class="title">添加博客类别</p>
                        <form action="/addclassify" enctype="multipart/form-data" method="post">
                            <input type="hidden" name="classifypage" value="<%= page%>" id="classifypage" />
                            <div class="form-group clearfix">
                                <label class="col-md-2 col-sm-2">博客类别：</label>
                                <div class="col-md-10 col-sm-10">
                                    <input type="text" class="form-control" id="classify" placeholder="请输入博客类别" name="classify">
                                </div>
                            </div>
                            <div class="form-group clearfix">
                                <label class="col-md-2 col-sm-2">类别封面：</label>
                                <div class="col-md-10 col-sm-10">
                                    <div class="filebox">
                                        <input type="file" accept="image/*" id='inputfile' name="classifyimg" />
                                        <img src="" id='willsetImg' />
                                    </div>
                                </div>
                            </div>
                            <div class="form-group clearfix">
                                <button class="btn btn2 btn-primary" type="submit" title="确认添加">确认添加</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
    </div>
</body>
<script src="./javascripts/jquery.min.js"></script>
<script src="./bootstrap/js/bootstrap.min.js"></script>
<script src="./javascripts/sweetalert2@8.js"></script>
<script src="./javascripts/addclassify.js"></script>

</html>